package com.azzcs.catalina.pipeline;

import com.azzcs.catalina.Container;
import com.azzcs.catalina.Valve;
import com.azzcs.catalina.pipeline.Pipeline;

import java.util.List;

/**
 * @Author: wzg
 * @Date: 2021/1/9 上午9:00
 */
public class StandardPipeline implements Pipeline {
    protected Container container = null;
    protected Valve first = null;

    public StandardPipeline(Container container) {
        this.container = container;
    }

    @Override
    public Valve getBasic() {
        return first;
    }

    @Override
    public void setBasic(Valve valve) {
        this.first = valve;
    }

    @Override
    public void addValve(Valve valve) {

    }

    @Override
    public List<Valve> getValves() {
        return null;
    }

    @Override
    public void removeValve(Valve valve) {

    }

    @Override
    public Valve getFirst() {
        return null;
    }

    @Override
    public Container getContainer() {
        return null;
    }

    @Override
    public void setContainer(Container container) {
        this.container = container;
    }
}
